package doantotnghiep.dao;

import java.util.List;

import doantotnghiep.model.Medicament;

public interface MedicamentDao {
	
	public void deleteMedicament(int id);
	
	public void saveMedicament(Medicament s);

	public List<Medicament> listMedicament();

	public void addMedicament(Medicament s);

	public Medicament findMedicamentByID(int id);

	public List<Medicament> getMedicamentByKey(String key);

	public void increaseNumberOfBatchofMedicine(int medicamentID, int i);

	public List<Medicament> getAllMedicamentByKeyWord(String key);

	public void decreaseNumberofBatch(int medicament_ID, int totalBatch);

}
